module.exports = {
    devServer: {
        open: true,
        /* 设置为0.0.0.0则所有的地址均能访问 */
        port: 8088,
        proxy: {
            '/api': {
                target: 'http://localhost:8080',
                changeOrigin: true,
                pathRewrite: {
                    '^/api': '/'
                }
            }

        }
    }
}